package com.jushu.storbox.entities;

import java.io.Serializable;

public class TeamSpaceInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4262520405655766769L;
	
	
	/**
	 * 团队空间ID
	 * */
	private String teamSpaceId;
	
	/**
	 * 团队空间名称
	 * */
    private String name;
	
    /**
	 * 团队空间描述
	 * */
	private String description;
	
	/**
	 * 成员数量
	 * */
	private int curNumbers;
	
	/**
	 * 创建时间的毫秒值
	 * */
	private long createdAt;
	
	/**
	 * 创建者的ID
	 * */
	private String createdBy;
	
	/**
	 * 创建者的名称
	 * */
	private String createdByUserName;
	
	/**
	 * 拥有者的ID
	 * */
	private String ownerBy;
	
	/**
	 * 拥有者的名称
	 * */
	private String ownerByUserName;
	
	/**
	 * 状态（0表示可用，1表示禁用）
	 * */
	private byte status;
	
	/**
	 * 团队空间的容量，单位为字节
	 * */
	private long spaceQuota;
	
	/**
	 * 团队空间已经使用的容量，单位为字节
	 * */
	private long spaceUsed;
	
	/**
	 * 最大版本数，默认值为-1
	 * */
	private int maxVersion;
	
	/**
	 * 团队空间最大成员限制，默认值为-1
	 * */
	private int maxMembers;
	
	/** 团队空间成员关系ID */
	private String memberShipsId;
	
	/** 团队空间成员身份 ,admin,manager,member.*/
	private String teamRole;
	
	/** 团队空间成员身份 ,auther,editor,viewer.*/
	private String role;
	
	
	public String getTeamSpaceId() {
		return teamSpaceId;
	}

	public void setTeamSpaceId(String teamSpaceId) {
		this.teamSpaceId = teamSpaceId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getCurNumbers() {
		return curNumbers;
	}

	public void setCurNumbers(int curNumbers) {
		this.curNumbers = curNumbers;
	}

	public long getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(long createdAt) {
		this.createdAt = createdAt;
	}

	public String  getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedByUserName() {
		return createdByUserName;
	}

	public void setCreatedByUserName(String createdByUserName) {
		this.createdByUserName = createdByUserName;
	}

	public String getOwerBy() {
		return ownerBy;
	}

	public void setOwerBy(String owerBy) {
		this.ownerBy = owerBy;
	}

	public String getOwnerByUserName() {
		return ownerByUserName;
	}

	public void setOwnerByUserName(String owerByUserName) {
		this.ownerByUserName = owerByUserName;
	}

	public byte getStatus() {
		return status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public long getSpaceQuota() {
		return spaceQuota;
	}

	public void setSpaceQuota(long spaceQuota) {
		this.spaceQuota = spaceQuota;
	}

	public long getSpaceUsed() {
		return spaceUsed;
	}

	public void setSpaceUsed(long spaceUsed) {
		this.spaceUsed = spaceUsed;
	}

	public int getMaxVersion() {
		return maxVersion;
	}

	public void setMaxVersion(int maxVersion) {
		this.maxVersion = maxVersion;
	}

	public int getMaxMembers() {
		return maxMembers;
	}

	public void setMaxMembers(int maxMembers) {
		this.maxMembers = maxMembers;
	}

	public String getMemberShipsId() {
		return memberShipsId;
	}

	public void setMemberShipsId(String memberShipsId) {
		this.memberShipsId = memberShipsId;
	}

	public String getTeamRole() {
		return teamRole;
	}

	public void setTeamRole(String teamRole) {
		this.teamRole = teamRole;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "TeamSpaceInfo [teamSpaceId=" + teamSpaceId + ", name=" + name
				+ ", description=" + description + ", curNumbers=" + curNumbers
				+ ", createdAt=" + createdAt + ", createdBy=" + createdBy
				+ ", createdByUserName=" + createdByUserName + ", ownerBy="
				+ ownerBy + ", ownerByUserName=" + ownerByUserName
				+ ", status=" + status + ", spaceQuota=" + spaceQuota
				+ ", spaceUsed=" + spaceUsed + ", maxVersion=" + maxVersion
				+ ", maxMembers=" + maxMembers + ", memberShipsId="
				+ memberShipsId + ", teamRole=" + teamRole + ", role=" + role
				+ "]";
	}
	
	
	
	
}
